/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.soa.service.busi.wx;

import com.lianzt.commondata.AbstractCommonData;
import com.soa.exception.GlobalException;
import com.soa.service.BaseService;
import org.springframework.stereotype.Service;

/**
 *  用车归还
 * P90008
 * @author chang
 */
@Service
public class YcghService extends BaseService{

    @Override
    public String[] keys() {
        return null;
    }

    @Override
    public void execute(AbstractCommonData in, AbstractCommonData inhead, AbstractCommonData out, AbstractCommonData outhead) {
        String id = in.getStringValue("id");
        try {
            update("update_yczt", new Object[]{id});
        } catch (Exception e) {
            throw new GlobalException(9000801, e);
        }
    }
    
}
